/**
 * 
 */
package com.efruit.biz.impl;

import com.efruit.authority.IUserInfo;

/**
 * @author pforedawn
 * 
 */
public class UserInfoImpl implements IUserInfo {

	private int userId;
	private String username;
	private String password;
	private int authority;

	public int getUserId(){
		return userId;
	}
	
	public void setUserId(int userId){
		this.userId = userId;
	}

	@Override
	public String getPassword() {
		return this.password;
	}

	@Override
	public String getUsername() {
		return this.username;
	}

	@Override
	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public void setUsername(String username) {
		this.username = username;
	}
	
	public void setAuthority(int authority){
		this.authority = authority;
	}

	@Override
	public int getAuthority() {
		return authority;
	}

}
